//
//  BHCoachInfoBottomView.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/7/2.
//

import UIKit

class BHCoachInfoBottomView: UIView {

    @IBOutlet weak var ask_view: UIView!
    @IBOutlet weak var buy_btn: UIButton!
    
    @IBOutlet weak var price_label: UILabel!
    static func loadFromXib() -> BHCoachInfoBottomView {
        let viewArray = Bundle.main.loadNibNamed("BHCoachInfoBottomView", owner: nil, options: nil)
        let view: BHCoachInfoBottomView = viewArray![0] as! BHCoachInfoBottomView
        return view
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.buy_btn.addLayerCorner(25, 0, .white)
    }
    static var viewHeight: CGFloat {
        get {
            return UIScreen.safeBottomHeight+84
        }
    }
}
